WPPayForm\App\Modules\PaymentMethods\Stripe\Stripe B

Total Complexity 81
Dependencies 7
Dependents 15
Total lines 502
Lines of code 390
Logical lines of code 164
Comment lines 22
Methods 25
Properties 0

Methods 25

Method Rating Maintainability Complexity Lines of code
savePaymentSettings()
A
43 9 49
getSecretKey()
S
54 7 20
getPubKey()
S
54 7 20
addAddressToView()
S
50 5 34
getMode()
S
62 6 10
mapper()
S
60 5 14
addTransactionUrl()
S
60 5 13
choosePaymentMethod()
S
63 5 11
maybeSignupFeeToPaymentItems()
S
53 4 23
formatAddress()
S
55 4 21
maybeDecryptKeys()
S
58 4 15
mapSettings()
S
42 1 60
pushAddressToInput()
S
62 3 11
getStripeSettings()
S
56 2 19
getStripePaymentMethodByElement()
S
64 3 10
isStripeKeysDefined()
S
79 2 3
registerHooks()
S
57 1 15
encryptKeys()
S
70 1 6
getPaymentSettings()
S
69 1 7
makeSubscriptionSync()
S
79 1 3
getDynamicStripeSettings()
S
76 1 4
routePaymentHandler()
S
70 1 5
addPaymentMethodStyle()
S
72 1 5
addLocalizeVars()
S
64 1 9
cancelSubscription()
S
78 1 3